package com.eos.common.tool;

/**
 * 常量工具类
 * 
 * @author sz
 * 
 */
public interface ConstantTool {
	public static final String DEL = "-1";// 删除状态
	public static final String FALSE = "0";// 无效状态 否
	public static final String TRUE = "1";// 有效状态 是
	public static final String PERSONAL = "0";// 开发者类型 个人
	public static final String COMPANY = "1";// 开发者类型 公司
	public static final String NO_UPLOAD = "-1";// 应用未上传
	public static final String CHECK = "0";// 审核状态 待处理
	public static final String PASS = "1";// 通过状态 处理完成
	public static final String REFUSE = "2";// 拒绝状态 处理异常
	public static final String FIXED = "0";// 支付金额固定
	public static final String NO_FIXED = "1";// 支付金额不固定
	public static final String EXACT = "0";// 短信通道 精确
	public static final String OBSCURE = "1";// 短信通道 模糊
	public static final String REAL_DATA = "1";// 同步实时数据
	public static final String NO_REAL_DATA = "0";// 延迟数据
	public static final String SIMULATION_NUMBER = "0";// 模拟号码
	public static final String REAL_NUMBER = "1";// 真实号码
	public static final String INVALID_ORDERS = "-1";// 无效订单
	public static final String NO_ENOUGH_ORDERS = "0";// 金额不足订单
	public static final String VALID_ORDERS = "1";// 有效订单
	
	public static final String PAY_FAIL = "0";// 支付失败
	public static final String PAY_SUCCESS = "1";// 支付提交成功
	public static final String PAY_UNKNOWN = "2";// 等待支付
	public static final String PAY_CANCEL = "3";//取消支付
	public static final String PAY_FEE = "4";// 扣费成功
	
	public static final String CALL_FAIL = "-1";// 回调失败
	public static final String CALL_NO = "0";// 无需回调
	public static final String CALL_SUCCESS = "1";// 回调成功
	public static final String CALL_UNKNOWN = "2";// 尚未支付
	
	public static final String GPRS = "1";// GPRS网络
	public static final String G3 = "2";// 3G网络
	public static final String WIFI = "3";// WIFI网络
	public static final String RESERVE_DOMAIN = "0";// 备用域名
	public static final String FORMAL_DOMAIN = "1";// 正式域名
	public static final String INVAIL_DOMAIN = "-1";// 无效域名

	public static final String FILE_FORMAT_ERROR = "文件格式错误";
	public static final String FILE_SIZE_ERROR = "文件大小错误";
	public static final String FILE_NOT_FOUND = "文件没有找到";
	public static final String FILE_IO_EXCEPTION = "文件IO异常";
	public static final String EXEC_SUCCESS = "0";// 执行处理成功
	public static final String EXEC_ERROR = "-1";// 执行处理失败
	public static final String SERVICE_ERROR = "Sorry,系统异常,业务处理失败,请稍后重试...";
	public static final String LOGIN_ERROR = "帐号或密码错误,请重试...";
	public static final String IDENTIFY_ERROR = "验证码输入错误,请重试...";

	public static final int DAO_SUCCESS = 0;// 数据访问层操作成功的返回值
	public static final int DAO_FAIL = -1;// 数据访问层操作失败的返回值

	public static final String USER_ID = "USER_ID";// 对应表sdk_table_id的table_name属性
	public static final String ORDER_ID = "ORDER_ID";//
	public static final String SMS_ID = "SMS_ID";//

	public static final int SDK_WAP_NUMBER = 0;// WAP取号方式的表
	public static final int SDK_SMSCENTER_NUMBER = 1;// 短信中心号码获取方式的表
	public static final int SDK_EXACT_SMS_PAY_VIEW = 2;// 精确短信指令视图
	public static final int SDK_DIM_SMS_PAY_VIEW = 3;// 模糊短信指令视图
	public static final int SDK_TABLE_ALL = -1;// 全部的表和视图
	public static final int IMSI_SMS_DAY_LIMIT = 4;// 用户的日限
	public static final int IMSI_SMS_MONTH_LIMIT = 5;// 用户的月限
	public static final int OWN_SMS_DAY_LIMIT = 6;// 通道的日总限
	public static final int OWN_SMS_MONTH_LIMIT = 7;// 通道的月总限
	public static final int SDK_FMM_SMS_PAY_VIEW = 8;// FMM通道指令视图
	public static final int SDK_FMM_SMS_RESPONSE = 9;// FMM通道下行模版参数
	
	public static final String STATUS_OK = "0"; //数据库表字段状态(0: 有效数据)
	public static final String STATUS_FAIL  = "1"; //数据库表字段状态(1:无效数据)
	public static final String	DEAL_FALG_OK = "0"; //数据库表字段删除状态(0: 正常)
	public static final String DEAL_FLAG_FAIL = "1";  //数据库表字段删除状态(1: 删除)
}
